﻿using NHibernate.Collection.Generic;

//using NHibernate.Mapping.Attributes;

namespace monitor_2_DBwork
{

    class Devices : IRepositoryDevicelibInherit
    {

        public virtual int Id { get; protected set; }
        
        //public virtual string Name { get; set; }

        public virtual int Iddevicelib { get; set; }
        
        public virtual int Idrtps { get; set; }

        public virtual string Title { get; set; }

        public virtual string Tag { get; set; }

        public virtual string IPAddress { get; set; }

        public virtual bool Active { get; set; }

        public virtual RTPS RTPS { get; set; }

        public virtual DevicesLibs Device { get; set; }

        public virtual PersistentGenericSet<DeviceLog> Logs { get; set; }


        public virtual PersistentGenericSet<IzmersStatistics> IzmerStats { get; set; }        

        public Devices()
        {
        }
    }
}
